package team.szm.scd.database.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName(value = "doctor", autoResultMap = true)
public class Doctor {
    public final static String NonExpertGroupId = "#";
    public final static String NonExpertGroupName = "普通门诊";
    public static final String DOCTOR_SESSION_STR = "doctor";
    @TableId("did")
    String id;
    @TableField("dpid")
    Integer departmentId;
    @TableField("hid")
    Integer hospitalId;
    @TableField("dname")
    String name;
    String password;
    boolean expert;
}
